package com.tjsiqi.model;

import lombok.ToString;

import java.util.Date;

@ToString
public class StaffCheckIn extends StaffCheckInKey {
    private Boolean deleteflag;

    private Boolean uploadflag;

    private String handno;

    private String name;

    private String fullname;

    private Date dktime;

    private String photolocation;

    private String mac;

    private String bz;

    private String userId;

    private String ip;

    private String unitname;

    public StaffCheckIn(String id, String unitid, Boolean deleteflag, Boolean uploadflag, String handno, String name, String fullname, Date dktime, String photolocation, String mac, String bz, String userId, String ip, String unitname) {
        super(id, unitid);
        this.deleteflag = deleteflag;
        this.uploadflag = uploadflag;
        this.handno = handno;
        this.name = name;
        this.fullname = fullname;
        this.dktime = dktime;
        this.photolocation = photolocation;
        this.mac = mac;
        this.bz = bz;
        this.userId = userId;
        this.ip = ip;
        this.unitname = unitname;
    }

    public StaffCheckIn() {
        super();
    }

    public Boolean getDeleteflag() {
        return deleteflag;
    }

    public void setDeleteflag(Boolean deleteflag) {
        this.deleteflag = deleteflag;
    }

    public Boolean getUploadflag() {
        return uploadflag;
    }

    public void setUploadflag(Boolean uploadflag) {
        this.uploadflag = uploadflag;
    }

    public String getHandno() {
        return handno;
    }

    public void setHandno(String handno) {
        this.handno = handno == null ? null : handno.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname == null ? null : fullname.trim();
    }

    public Date getDktime() {
        return dktime;
    }

    public void setDktime(Date dktime) {
        this.dktime = dktime;
    }

    public String getPhotolocation() {
        return photolocation;
    }

    public void setPhotolocation(String photolocation) {
        this.photolocation = photolocation == null ? null : photolocation.trim();
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac == null ? null : mac.trim();
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz == null ? null : bz.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname == null ? null : unitname.trim();
    }
}